package api

import request "gitee.com/changeden/volcengine-livesaas-request-go"

type LikeChatRequest struct {
	ActivityId *int64 `json:"ActivityId"`
	ChatId     *int64 `json:"ChatId"`
}
type LikeChatResponse struct {
	LikeCount int32 `json:"LikeCount"`
}

func (instance *Instance) LikeChat(data *LikeChatRequest) (*LikeChatResponse, error) {
	d := request.Data{
		Action: "LikeChatAPI",
	}
	bindBody(&d, *data)
	var res LikeChatResponse
	err := instance.post(&d, &res)
	return &res, err
}
